% -*- coding:utf-8 -*-

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}

\usepackage[bookmarks, hyperfootnotes=false, colorlinks=true,%
            urlcolor=blue, linkcolor=black,  citecolor=black,%
            pagecolor=black, anchorcolor=black, breaklinks=true]{hyperref}

\usepackage{enumerate}
\usepackage{eurosym}
\usepackage{graphicx}
\usepackage{times}
\usepackage{color}
\usepackage{array}
\usepackage{colortbl}
\usepackage{longtable}

\usepackage{fancyhdr}
\usepackage{fancybox}
\usepackage{listings}
\usepackage{subfigure}
\usepackage{hyperref}
\usepackage{tikz}

\usepackage{epsfig}
\usepackage{float}
\usepackage{amsmath}
\usepackage{lscape}

\setlength{\headheight}{16pt}
\setlength{\oddsidemargin}{17pt}
\setlength{\textwidth}{420pt}
\setlength{\topmargin}{0pt}
\setlength{\textheight}{600pt}
\setlength{\marginparwidth}{55pt}


\newcommand{\fsm}{\emph{FSM}}
\newcommand{\ice}{\emph{ICE}}
\newcommand{\icefield}{\emph{IceField}}
\newcommand{\slice}{\emph{Slice}}

\pagestyle{fancy}

\renewcommand{\footrulewidth}{0.5pt}

%autor
\fancyfoot[R]{Práctica 2009/2010}
% Nombre de la asignatura
\fancyhead[L]{Procesadores de Lenguajes}
% Curso
\fancyhead[R]{Javier Almansa - Manuel José Abaldea}
% Título
\fancyfoot[L]{Compilador nethumb}


\newenvironment{float_code} {
      \begin{lst}
      }
      {
      \end{lst}
      }


\newfloat{lst}{H}{lop}[section]
\floatname{lst}{Listado}
\floatplacement{codigo}{!htb}
\floatstyle{plain}

\newfloat{tbl}{H}{llp}[section]
\floatname{tbl}{Tabla}
\floatplacement{tabla}{!htb}
\floatstyle{plain}

\begin{document}

\input{portada}
\newpage
\tableofcontents
%\listoffigures
\thispagestyle{empty}\listof{lst}{Índice de listados}
\thispagestyle{empty}\listof{tbl}{Índice de tablas}
\newpage
\input{introduccion}
\newpage
\input{fases}
\newpage
\input{lenguaje}
\newpage
\input{lexico}
\newpage
\input{sintactico}
\newpage
\input{semantico}
\newpage
\input{backend}
\newpage
\input{manual}
\newpage
\input{resultados}
\newpage
\input{metodologia}
\newpage
\input{bibliografia}
\end{document}
